import { axios } from '@/utils/request'

const root = '/biz/'

const api = {
    backlog: root + 'workBench/backlog',
    userData: root + 'workBench/userData',
    memberDataGraph: root + 'workBench/memberDataGraph'
}

export default api

/**
* 待办事项
*/
export function Backlog() {
    return axios({
        url: api.backlog,
        method: 'get',
    })
}

/**
* 用户数据总览
*/
export function UserData() {
    return axios({
        url: api.userData,
        method: 'get',
    })
}

/**
* 曲线图
*/
export function MemberDataGraph() {
    return axios({
        url: api.memberDataGraph,
        method: 'get',
    })
}